<?php
/**
 * FileName: BaseDataTag.php
 * Author: Fei.Song @cepcc
 * Date: 2021/3/5 11:10
 * Created by PhpStorm
 * Desc:
 */

namespace App\Lib\DataTag;


class BaseDataTag {
    public final function getDataService($input) {
        return $this->getData($input);
    }

    /*
     * 数据返回,需要重写
     */
    public function getData($input=[]) {
        throw new \Exception("Error: function 'getData()' not found");
    }
}
